<?php
/**
 * Created by PhpStorm.
 * User: 27642
 * Date: 2017/12/24
 * Time: 17:13
 */
namespace app\api\controller;

use app\api\model\SystemModel;

class Connect extends BaseController
{
    public function index()
    {

    }
    public function getInfo()
    {
        $m_system = new SystemModel();
        $connect_info = $m_system->getInfoByName('connect_info');

        return ok_return('200', unserialize($connect_info->value));
    }
}